XML Parsing with Python - find attribute value in XML file